package com.ruoyi.carton.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.carton.domain.OrderRequest;
import com.ruoyi.carton.domain.Orders;
import com.ruoyi.carton.domain.bo.OrderRequestWithCardboardBO;
import com.ruoyi.carton.domain.vo.OrderRequestQuery;
import com.ruoyi.carton.domain.vo.OrderRequestVO;

import java.util.List;

/**
* @author 时空
* @description 针对表【order_request(请购纸板表)】的数据库操作Service
* @createDate 2025-06-28 13:26:40
*/
public interface OrderRequestService extends IService<OrderRequest> {

    void addOrUpdateCardboardAndBindToRequest(Integer requestId, OrderRequestVO vo);

    OrderRequestWithCardboardBO getWithCardboardById(Integer id);

    List<OrderRequestWithCardboardBO> listWithBoxAndCardboard(OrderRequestQuery query);

    void createOrderRequest(Orders order);

    void removeOrderRequestWithCardboard(Integer id);

//    List<OrderRequestWithCardboardBO> listWithBoxAndCardboard();
}
